package com.shijunhao.graduation.domain.dto;

import com.shijunhao.graduation.annotations.WrapperCondition;
import com.shijunhao.graduation.domain.entity.BaseEntity;
import com.shijunhao.graduation.enums.SqlSymbol;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author shijunhao
 * @since 2022-03-16
 */
@ApiModel("登录日志查询实体")
public class SystemLoginLogQueryDto {

    @ApiModelProperty(name="主键",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Long id;


    @ApiModelProperty("用户名")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String username;


    @ApiModelProperty("ip地址")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String ip;


    @ApiModelProperty("地址")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String location;


    @ApiModelProperty("浏览器信息")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String browser;


    @ApiModelProperty("操作系统信息")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String os;


    @ApiModelProperty("备注")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String description;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }
    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
